package cn.school.prevention.entity;

import java.util.List;

public class Page {

    private int pageNum;
    private int pageSize;
    private int pageCount;
    private int pageCountSize;
    private List<Scope> list;

    public List<Scope> getList() {
        return list;
    }

    public void setList(List<Scope> list) {
        this.list = list;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
        pageCountSize=pageCount%pageSize==0?pageCount/pageSize:pageCount/pageSize+1;
    }

    public int getPageCountSize() {
        return pageCountSize;
    }

    public void setPageCountSize(int pageCountSize) {
        this.pageCountSize = pageCountSize;

    }

}
